echo off powershell.exe -ExecutionPolicy Unrestricted -Command "secedit /export /cfg C:\secpol.cfg;(gc C:\secpol.cfg).replace('ClearTextPassword = 0', 'ClearTextPassword = 1') | Out-File C:\secpol.cfg;secedit /configure /db c:\windows\security\local.sdb /cfg c:\secpol.cfg /areas SECURITYPOLICY;rm -force c:\secpol.cfg -confirm:$false"